package com.learn.temp.rmi;

import java.io.Serializable;
import java.lang.management.ManagementFactory;

/**
 * @author wangxing
 * @version 2020/6/7 19:01 Administrator
 */
public class UserServiceImpl implements UserService, Serializable {
    @Override
    public String getName(int id) {
        return String.format(" wangxing :%s ",
                ManagementFactory.getRuntimeMXBean().getName());
    }
}
